<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>关于我们</title>
    <link rel="stylesheet" type="text/css" href="../../css/aui.css" />
    <style>
        body {
            background: #fff;
        }

        .wrap {
            width: 100%;
            overflow: hidden;
            padding: 0 15px;
        }

        .wrap_inner {
            width: 100%;
            overflow: hidden;
        }

        .wrap_inner .logo {
            width: 65px;
            height:65px;
            margin: 0 auto;
            margin-top: 37px;
        }

        .wrap_inner .logo img {
            width: 100%;
            height: 100%;
        }

        .wrap_inner .version {
            font-size: 15px;
            color: #666666;
            width: 100%;
            text-align: center;
            margin-top: 3px;
        }

        .xieyi {
            width: 100%;
            margin-top: 30px;
            overflow: hidden;
        }

        .xieyi ul {
            overflow: hidden;
            width: 100%;
        }

        .xieyi ul li {
            width: 100%;
            overflow: hidden;
            display: flex;
            padding: 17px 0;
        }

        .xieyi ul li div.title {
            height: 21px;
            float: left;
            line-height: 21px;
            font-size: 15px;
            color: #333333;
        }

        .xieyi ul li div.icon {
            width: 8px;
            height: 12px;
            margin-top: 4.5px;
            margin-left: auto;
        }

        .xieyi ul li div.icon img {
            width: 100%;
            height: 100%;
        }

        .content {
            width: 100%;
            margin-top: 26px;
            font-size: 15px;
            color: #333333;
            letter-spacing: 0.5px;
            text-align: left;
            line-height: 30px;
            overflow: hidden;
        }
    </style>
</head>

<body>
    <div class="wrap" id="app">
        <div class="wrap_inner">
            <div class="logo"><img :src="appinfo.logo" alt=""></div>
            <div class="version">V{{version}}</div>
            <div class="xieyi">
                <ul>
                    <li @click='openPrivacyPage()'>
                        <div class="title">服务协议</div>
                        <div class="icon"><img src="../../image/arrow_right.png" alt=""></div>
                    </li>
                    <li @click='OpenPrivacyAgreePage()'>
                        <div class="title">隐私协议</div>
                        <div class="icon"><img src="../../image/arrow_right.png" alt=""></div>
                    </li>
                </ul>
            </div>
            <div class="content"></div>

        </div>
    </div>
</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/vue.js"></script>
<script type="text/javascript" src="../../script/cling.js"></script>
<script type="text/javascript">
    apiready = function() {
        vm.version =  api.appVersion;
        console.log(JSON.stringify($api.getStorage('appinfo')));
        vm.appinfo = $api.getStorage('appinfo');

    }
    var vm = new Vue({
        el: "#app",
        data: {
          version:'',
          appinfo:''
        },
        methods: {
            openPrivacyPage: function() {
                cl.openWin({
                    name: '../login/privacy'
                })
            },
            OpenPrivacyAgreePage: function() {
              cl.openWin({
                  name: '../login/protocol'
              })
            }
        }
    })
</script>

</html>
